<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: app
  Date: 2018/4/20
  Time: 上午3:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<s:iterator value="feedList" status="index">
    <div class="subject-item">
        <div class="pic">
            <a>
                <img alt="140x140" src=${imageUrl}  style="height:184px;width:120px" />
            </a>
        </div>
        <div class="info">
            <h2 style="margin-bottom: 3px">${bookName}</h2>
            <p>
                <span class="author">${author}</span>
                <em>|</em>
                <span class="pub">${publisher}</span>
                <em>|</em>
                <span class="price">${price}</span>
            </p>
            <div class="star">评分: ${star}</div>
            <div style="margin-top: 10px">
                <s:if test="contentDes.length()>100">
                    <%--<p>${contentDes}</p>--%>
                    <s:property value="contentDes.substring(0,100)" />
                    <a href="#"  style="cursor:default;text-decoration:none;color:#0000ff;" title="${contentDes}">...</a>
                </s:if>
                <s:else>
                    <s:property value="contentDes" />
                </s:else>
            </div>
            <div class="ft">
                <span><a href="bookDetailAction?book_id=${bookId}" target="_blank">详情</a></span>
            </div>
        </div>
    </div>
</s:iterator>
</body>
</html>
